<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" import="java.net.URLEncoder"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<script type="text/javascript">
function goback() {
		history.go(-1);
	}
</script>
<div class="page-header">
	<h3 style="margin-top: auto">修改个人信息</h3>
</div>
<div class="row-fluid">
		<form class="form-horizontal"
			action="<%=request.getContextPath()%>/user/${user.id}/update/" method="POST">
				<div class="control-group">
					<label class="control-label">真实姓名&nbsp;</label>
					<div class="controls">
						<input type="text" placeholder="真实姓名" name="realname" value="${user.realname}"/>
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">工号&nbsp;</label>
					<div class="controls">
						<input type="text" placeholder="工号" name="staffnum" value="${user.staffNum}"/>
					</div>
				</div>
				<div class="control-group">
					<label class="control-label">email&nbsp;</label>
					<div class="controls">
						<input type="text" placeholder="email" name="email" value="${user.email}"/>
					</div>
				</div>
				<div class="control-group">
				<div class="controls">
					<button type="submit" class="btn" id="submit"><i class="icon-ok"></i>&nbsp;提交</button>
					<button type="button" class="btn" style="margin-left=50px;" onclick="goback()"><i class="icon-remove"></i>&nbsp;取消</button>
				</div>
			</div>
		</form>
	</div>